import {Injectable} from '@angular/core';

@Injectable()
export class LoginService{
	
	login(username:string, password:string){
		if(username === 'admin' && password === 'admin'){
			return true;
		}else{
			console.log('用户名或密码不对');
			return false;
		}
	}
	
}